#include "ClientStdAfx.h"
#include "ClientNetRoot.h"
#include "ClientCmdSocket.h"
#include "clientRoot.h"

void	test();
int		main()
{
	try
	{
		//Load plugin
		ClientRoot::getInstance().init("ClientPlugin.cfg");
		ClientRoot::getInstance().SetCurrentRenderSystemPoint("OgreRender");
		ClientNetRoot::getClientRoot()->init();
		ClientNetRoot::getClientRoot()->Run();
		ClientNetRoot::getClientRoot()->release();
	}
	catch (...)
	{
		//MessageBoxA(NULL, e.getFullDescription().c_str(), "An exception has occurred!", MB_ICONERROR | MB_TASKMODAL);
	}


	return 0;
}

void	test()
{
	int * i = new int;
	int * ie= new int[33];
	delete i;
	delete[] ie;
		//testMd5();
}
